package xyz.zdsoft.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 作业信息表
 * </p>
 *
 * @author 杜飘
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WorkInfo对象", description="作业信息表")
public class WorkInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物理id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "作业主题")
    private String title;

    @ApiModelProperty(value = "计划完成时间")
    private LocalDateTime completeDate;

    @ApiModelProperty(value = "项目ID")
    private Long courseId;

    @ApiModelProperty(value = "作业类型，参见WorkType枚举;0平时作业，1阶段性作业，2最终交互作业")
    private String workType;

    @ApiModelProperty(value = "作业类容")
    private String appendsLink;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;
    @ApiModelProperty(value = "下发作业老师id")
    private int  teacherId;


    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
